package com.df.gateway.predicate;

import com.df.gateway.handler.GatewayHttpHandler;
import com.df.library.net.condition.HttpDefaultProtocolPredicate;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;

import java.util.HashMap;
import java.util.Map;


public class GatewayHttpPredicate extends HttpDefaultProtocolPredicate {


    @Override
    public void channelInit(ChannelHandlerContext ctx) {
        super.channelInit(ctx);
        GatewayHttpHandler gatewayHttpHandler = new GatewayHttpHandler();
        ctx.pipeline().addLast(gatewayHttpHandler);
    }
}
